package com.parenting.feign.controller;

import com.parenting.feign.entities.ShopLowerDTO;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.FeignClientProperties;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author Administrator
 */
@FeignClient(value = "shop-platform-server", path = "/" ,configuration = FeignClientProperties.FeignClientConfiguration.class)
public interface IFeignPlatformShopController {
     /**
      * a
      * @return
      */
     @ApiOperation(value = "店铺下拉")
     @GetMapping("/api/shop/")
     List<ShopLowerDTO> getAllShopLower();

}
